#include "Vector2.h"

Vector2::Vector2( void ) :
D3DXVECTOR2( 0, 0 )
{
}

Vector2::Vector2( float fx, float fy ) :
D3DXVECTOR2( fx, fy )
{
}

Vector2::Vector2( const D3DXVECTOR2 & vector )
{
	*static_cast<D3DXVECTOR2*>(this) = vector;
}

Vector2::~Vector2( void )
{
}

void Vector2::Set( float fx, float fy )
{
	x = fx;
	y = fy;
}